package com.group7.mall.service;

import com.group7.mall.dto.*;
import com.group7.mall.entity.TbCommentDiscussion;
import com.group7.mall.entity.TbUserComment;
import com.group7.mall.resp.UserCommentsPageResponse;
import com.group7.mall.req.UserAddCommentRequest;
import com.group7.mall.req.UserCommentPageRequest;

import java.util.List;

public interface CommentService {

    List<CommentDiscussionDto> showCommentDiscussion(TbUserComment tbUserComment);

    UserCommentsPageResponse<UserCommentDto> showGoodsComments(UserCommentPageRequest userCommentPageRequest);

    TbCommentDiscussion addCommentDiscussion(TbCommentDiscussion tbCommentDiscussion);

    int insert(UserAddCommentRequest userAddCommentRequest);
}
